#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main05()
{
	int j = 0;
	for (j = 100; j <= 999; j++)
	{
		int b = j / 100;
		int s = j / 10 % 10;
		int g = j % 10 % 10;
		int sum = b * b * b + s * s * s + g * g * g;
		if (sum == j)
		{
			printf("%d\t", j);
		}
	}
	return 0;
}